package com.scau.wrongtitle.domin;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Table(name = "t_user_info")
public class UserInfo extends BaseEntity{
    @Id
    private Long id;
    @Column(name = "username")
    private String username;
    @Column(name = "wrong_title_count")
    private int wrongTitleCount;
    @Column(name = "current_grade")
    private String grade;
}